package com.ruoyi.server.pkg;

import com.ruoyi.server.read.BaseCenterReader;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;

import java.util.Set;


/**
 *  基类
 *
 * @author OpenACloud
 * @create 2024/6/3 21:40
 */
public abstract class BaseControl extends BaseError {

    private Set<Long> setGroup;

    private BaseCenterReader reader;

    private ChannelHandlerContext channel;

    public Set<Long> getSetGroup() {
        return setGroup;
    }

    public void setSetGroup(Set<Long> setGroup) {
        this.setGroup = setGroup;
    }

    public BaseCenterReader getReader() {
        return reader;
    }

    public void setReader(BaseCenterReader reader) {
        this.reader = reader;
    }

    public ChannelHandlerContext getChannel() {
        return channel;
    }

    public void setChannel(ChannelHandlerContext channel) {
        this.channel = channel;
    }
}
